package com.mes.pojo.defece;

import com.mes.pojo.defece.TestingTemplate;

/**
 * @Author 侯伟豪
 * @Company 起点编程
 * @Description
 * @Time 2024/10/21 9:53
 */
public class MaterialProducts {
    private Long materialProductId;
    private String materialProductName;
    private String specificationModel;
    private Integer materialProductTestingMin;
    private String materialProductUnit;
    private String materialProductsUnqualifiedMax;
    private String materialProductsFatalFlawMax;
    private String materialProductsSevereFlawMax;
    private String materialProductsSlightFlawMax;
    private Integer materialProductStatus;
    private Integer materialProductTemplateId;
    private TestingTemplate testingTemplate;

    public Long getMaterialProductId() {
        return materialProductId;
    }

    public void setMaterialProductId(Long materialProductId) {
        this.materialProductId = materialProductId;
    }

    public String getMaterialProductName() {
        return materialProductName;
    }

    public void setMaterialProductName(String materialProductName) {
        this.materialProductName = materialProductName;
    }

    public String getSpecificationModel() {
        return specificationModel;
    }

    public void setSpecificationModel(String specificationModel) {
        this.specificationModel = specificationModel;
    }

    public Integer getMaterialProductTestingMin() {
        return materialProductTestingMin;
    }

    public void setMaterialProductTestingMin(Integer materialProductTestingMin) {
        this.materialProductTestingMin = materialProductTestingMin;
    }

    public String getMaterialProductUnit() {
        return materialProductUnit;
    }

    public void setMaterialProductUnit(String materialProductUnit) {
        this.materialProductUnit = materialProductUnit;
    }

    public String getMaterialProductsUnqualifiedMax() {
        return materialProductsUnqualifiedMax;
    }

    public void setMaterialProductsUnqualifiedMax(String materialProductsUnqualifiedMax) {
        this.materialProductsUnqualifiedMax = materialProductsUnqualifiedMax;
    }

    public String getMaterialProductsFatalFlawMax() {
        return materialProductsFatalFlawMax;
    }

    public void setMaterialProductsFatalFlawMax(String materialProductsFatalFlawMax) {
        this.materialProductsFatalFlawMax = materialProductsFatalFlawMax;
    }

    public String getMaterialProductsSevereFlawMax() {
        return materialProductsSevereFlawMax;
    }

    public void setMaterialProductsSevereFlawMax(String materialProductsSevereFlawMax) {
        this.materialProductsSevereFlawMax = materialProductsSevereFlawMax;
    }

    public String getMaterialProductsSlightFlawMax() {
        return materialProductsSlightFlawMax;
    }

    public void setMaterialProductsSlightFlawMax(String materialProductsSlightFlawMax) {
        this.materialProductsSlightFlawMax = materialProductsSlightFlawMax;
    }

    public Integer getMaterialProductStatus() {
        return materialProductStatus;
    }

    public void setMaterialProductStatus(Integer materialProductStatus) {
        this.materialProductStatus = materialProductStatus;
    }

    public Integer getMaterialProductTemplateId() {
        return materialProductTemplateId;
    }

    public void setMaterialProductTemplateId(Integer materialProductTemplateId) {
        this.materialProductTemplateId = materialProductTemplateId;
    }

    public TestingTemplate getTestingTemplate() {
        return testingTemplate;
    }

    public void setTestingTemplate(TestingTemplate testingTemplate) {
        this.testingTemplate = testingTemplate;
    }

    public MaterialProducts() {
    }

    public MaterialProducts(Long materialProductId, String materialProductName, String specificationModel, Integer materialProductTestingMin, String materialProductUnit, String materialProductsUnqualifiedMax, String materialProductsFatalFlawMax, String materialProductsSevereFlawMax, String materialProductsSlightFlawMax, Integer materialProductStatus, Integer materialProductTemplateId, TestingTemplate testingTemplate) {
        this.materialProductId = materialProductId;
        this.materialProductName = materialProductName;
        this.specificationModel = specificationModel;
        this.materialProductTestingMin = materialProductTestingMin;
        this.materialProductUnit = materialProductUnit;
        this.materialProductsUnqualifiedMax = materialProductsUnqualifiedMax;
        this.materialProductsFatalFlawMax = materialProductsFatalFlawMax;
        this.materialProductsSevereFlawMax = materialProductsSevereFlawMax;
        this.materialProductsSlightFlawMax = materialProductsSlightFlawMax;
        this.materialProductStatus = materialProductStatus;
        this.materialProductTemplateId = materialProductTemplateId;
        this.testingTemplate = testingTemplate;
    }

    @Override
    public String toString() {
        return "materialProducts{" +
                "materialProductId=" + materialProductId +
                ", materialProductName='" + materialProductName + '\'' +
                ", specificationModel='" + specificationModel + '\'' +
                ", materialProductTestingMin=" + materialProductTestingMin +
                ", materialProductUnit='" + materialProductUnit + '\'' +
                ", materialProductsUnqualifiedMax='" + materialProductsUnqualifiedMax + '\'' +
                ", materialProductsFatalFlawMax='" + materialProductsFatalFlawMax + '\'' +
                ", materialProductsSevereFlawMax='" + materialProductsSevereFlawMax + '\'' +
                ", materialProductsSlightFlawMax='" + materialProductsSlightFlawMax + '\'' +
                ", materialProductStatus=" + materialProductStatus +
                ", materialProductTemplateId=" + materialProductTemplateId +
                ", testingTemplate=" + testingTemplate +
                '}';
    }
}